package com.zorn.core.result;

import java.util.HashMap;

public class QueryResult extends HashMap<String, Object> {

	public QueryResult() {

	}

	public QueryResult(int total, Object data) {
		this.put(ResultKeys.SUCCESS, true);
		this.put(ResultKeys.TOTAL, total);
		this.put(ResultKeys.DATA, data);
	}

}
